+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
+Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
+ Request XmTRANFER_FAILURE on Motif drops not within
+ a drop zone. I don't know why this is necessary,
+ but it is.
+
+ * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
+ Motif flag field in response was getting wrong
+ values.
+
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
xev.xclient.data.b[0] = XmDROP_START | 0x80;
xev.xclient.data.b[1] = local_byte_order;
if (ok)
- xev.xclient.data.s[2] = XmDROP_COPY |
+ xev.xclient.data.s[1] = XmDROP_COPY |
(XmDROP_SITE_VALID << 4) |
(XmDROP_NOOP << 8) |
(XmDROP << 12);
else
- xev.xclient.data.s[2] = XmDROP_NOOP |
+ xev.xclient.data.s[1] = XmDROP_NOOP |
(XmNO_DROP_SITE << 4) |
(XmDROP_NOOP << 8) |
(XmDROP_CANCEL << 12);
xev.xclient.data.b[0] = XmDROP_START | 0x80;
xev.xclient.data.b[1] = local_byte_order;
if (ok)
- xev.xclient.data.s[2] = XmDROP_COPY |
+ xev.xclient.data.s[1] = XmDROP_COPY |
(XmDROP_SITE_VALID << 4) |
(XmDROP_NOOP << 8) |
(XmDROP << 12);
else
- xev.xclient.data.s[2] = XmDROP_NOOP |
+ xev.xclient.data.s[1] = XmDROP_NOOP |
(XmNO_DROP_SITE << 4) |
(XmDROP_NOOP << 8) |
(XmDROP_CANCEL << 12);
gdk_drag_status (context, 0, event->dnd.time);
}
else if (event->type == GDK_DROP_START)
- gdk_drop_reply (context, data.found, event->dnd.time);
+ {
+ gdk_drop_reply (context, data.found, event->dnd.time);
+ if (context->protocol == GDK_DRAG_PROTO_MOTIF)
+ gtk_drag_finish (context, FALSE, FALSE, event->dnd.time);
+ }
}
break;